﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Sita.Entities;

namespace Sita.Presentation.ViewModels
{
    public class WOModel
    {
        public enum WOMode
        {
            Insert,
            Edit
        }

        public enum WOState
        {
            InProgress,
            Error,
            Saved
        }

        public WOModel()
        {
            WorkOrder = new WorkOrder();
            WorkOrderBU = new BusinessUnit();
        }

        public WorkOrder WorkOrder { get; set; }

        public BusinessUnit WorkOrderBU { get; set; }

        public float HandWorkPrice { get; set; }

        public float TotalPrice { get; set; }

        public WOMode Mode { get; set; }
    }
}